const config = (() => {
  if (process.env.NODE_ENV === "development") {
    return {
      // api: "http://59.110.168.146:9000",
      api: "http://192.168.1.155:9000",
      pathPrefix: "/",
    };
  }
  return {
    api: `${location.protocol}//yosee.mingcloud.net`,
    pathPrefix: "/growing-tree/",
  };
})();

module.exports = config;